package com.isunland.managesystem.ui;

import android.support.v4.app.Fragment;

public class CustomerSearchActivity extends SingleFragmentActivity {
  private String dataStatus = "";
  private String districtCode = "";
  private String districtDesc = "";
  private String customerName = "";

  @Override protected Fragment createFragment() {
    dataStatus = getIntent().getStringExtra(CustomerSearchFragment.EXTRA_STATUS);
    districtCode = getIntent().getStringExtra(CustomerSearchFragment.EXTRA_AREACODE);
    districtDesc = getIntent().getStringExtra(CustomerSearchFragment.EXTRA_AREANAME);
    customerName = getIntent().getStringExtra(CustomerSearchFragment.EXTRA_NAME);
    return CustomerSearchFragment.newInstance(districtCode, districtDesc, customerName, dataStatus);
  }
}
